package com.siae.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message_template")
@Schema(name = "MessageTemplate",description = "消息模板")
public class MessageTemplate {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @Schema(name = "text",description = "消息模板内容")
    @TableField(value = "text")
    private String text;
    @Schema(name = "type",description = "消息模板类型")
    @TableField(value = "type")
    private String type;
    @Schema(name = "createdAt",description = "创建时间")
    @TableField(value = "created_at")
    private Date createdAt;
    @Schema(name = "updatedAt",description = "修改时间")
    @TableField(value = "updated_at")
    private Date updatedAt;
    @Schema(name = "isDel",description = "逻辑删除 0：未删 1：已删")
    @TableField(value = "is_del")
    private Integer isDel;
}
